package com.test.particles;

import android.app.Activity;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Toast;

public class Particles extends Activity {
    /** Called when the activity is first created. */
	private static Context context;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE); // (NEW)
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN); // (NEW)

        ClearGLSurfaceView csv = new ClearGLSurfaceView(this);
 		GLSurfaceView view = (GLSurfaceView)csv;
   		setContentView(view);
   		
   		Particles.context=getApplicationContext();
    }

 }
